<template>
  <div class="form">
    <el-form
      :model="$attrs['FormData']"
      :rules="$attrs['FormRules']"
      ref="form"
    >
      <el-form-item :label="$attrs['dialogFormlabelName']" prop="attr_name">
        <el-input
          v-model="$attrs['FormData'].attr_name"
          @input="handleinput"
        ></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: "Form",
  inheritAttrs: false,
  methods: {
    handleinput() {
      console.log(this.$attrs["dialogFormlabelName"]);
    }
  }
};
</script>

<style lang="scss" scoped></style>
